<ion-header>
  <ion-navbar>
    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-title>{{selectedItem.title}}</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <ion-card class="ion-card">
    <img class="ion-card-img" src="{{book.logo}}"/>
    <ion-card-content>
      <ion-card-title>
        <ion-icon name="heart" color="{{color}}" (click)="iconTapped($event)"></ion-icon>{{book.name}}
      </ion-card-title>
    </ion-card-content>
  </ion-card>
  <ion-list>
    <ion-item *ngFor="let item of book.sections;let i =index">
      <h2>{{item.name}}</h2>
      <button ion-button clear item-right (click)="itemTapped($event, item, i)">View</button>
    </ion-item>
  </ion-list>
</ion-content>
